//
//  ANOptionsView.h
//  Ants
//
//  Created by ZHM on 16/4/28.
//  Copyright © 2016年 ZHM. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ANOptionsView;
@protocol ANOptionsViewDelegate <NSObject>

@required//必须
/**
 * index: 1 = ok  2 = no
 */
- (void)optionsView:(ANOptionsView *)optionsView didClickBtn:(NSInteger)index;
@end

@interface ANOptionsView : UIImageView
@property (nonatomic, copy) NSString *showString;
@property (nonatomic, assign) BOOL isCellDele;
@property (nonatomic,weak)id<ANOptionsViewDelegate>delegate;

+ (instancetype)optionsViewWithTitle:(NSString *)title delegate:(id)delegate;

@end
